document.addEventListener('DOMContentLoaded', function() {
    var elems = document.querySelectorAll('.sidenav');
    // var instances = M.Sidenav.init(elems, options);
});
$(document).ready(function(){
    $('.sidenav').sidenav();

    $(".collapsible-header").click(function(){
        $(this).siblings(".collapsible-body").slideToggle(300);
    })
});